<div align="right">
  <a href="index.php?show=random">Home</a><br />
  <a href="index.php?show=upload">Upload</a><br />
	<a href="index.php?show=images">Images</a><br />
  <a href="index.php?show=sources">Sources</a><br />
  <a href="index.php?show=about">About</a><br />
  <a href="index.php?show=contact">Contact</a><br /><br /><br />
  
  <p>Admin:</p>
	
</div>

<div align="right">
Images: 
<?php 	
	$conn = connectDB();
	
	# query DB
	$result = queryDB("SELECT * FROM image", $conn);
	
	$num = mysql_numrows($result);
	
	echo $num."<br><br>";
	
	closeDB($conn);
	echo "<a href='index.php?show=test'>Test</a>";
	echo "<br><br>";
	echo "<a href='index.php?show=delete_all'>Delete all</a>";
?>
</div>